package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.dto.Simple;
import com.itheima.pojo.SubjectsTags;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SubjectsTagsMapper extends BaseMapper<SubjectsTags> {
    @Select("SELECT id value,tagName label from hm_subjects_tags where subjectID =#{subjectID}")
    List<Simple> selectIdAndNameByid(Integer subjectID);

}
